package com.sps.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sps.common.annotation.Excel;
import com.sps.common.core.domain.BaseEntity;

/**
 * 出入库流水对象 cc_warehouserecord
 * 
 * @author 王超
 * @date 2025-01-08
 */
public class CcWarehouserecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键编号 */
    private Long id;

    /** 部门id */
    private Long deptId;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String itemId;

    /** 业务类型（字典控制）;（0入库，1出库） */
    @Excel(name = "业务类型", readConverterExp = "0=入库,1=出库")
    private Long bsinssType;

    /** 出入库数量（根据业务类型来） */
    @Excel(name = "数量")
    private Long crNum;

    /** 供应商 */
    @Excel(name = "供应商编号")
    private String supplyCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyName;

    /** 大类Id */
    private String classId;

    /** 大类名称 */
    private String className;

    /** 规格型号 */
    private String spec;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String kwCode;

    /** 库位名称 */
    @Excel(name = "库位名称")
    private String kwName;

    /** 标签号 */
    @Excel(name = "标签号")
    private String lableCode;

    /** 器具位置号 */
    @Excel(name = "器具位置号")
    private String applianceyCode;

    /** 器具名称 */
    @Excel(name = "器具名称")
    private String applianceyName;

    /** sps区 */
    @Excel(name = "sps区")
    private String spsArea;

    /** 备用1 */
    private String res1;

    /** 备用2 */
    private String res2;

    /** 备用3 */
    private String res3;

    /** 备用4 */
    private String res4;

    /** 备用5 */
    private String res5;

    private String startTime;

    private String endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setBsinssType(Long bsinssType) 
    {
        this.bsinssType = bsinssType;
    }

    public Long getBsinssType() 
    {
        return bsinssType;
    }
    public void setCrNum(Long crNum) 
    {
        this.crNum = crNum;
    }

    public Long getCrNum() 
    {
        return crNum;
    }
    public void setSupplyCode(String supplyCode) 
    {
        this.supplyCode = supplyCode;
    }

    public String getSupplyCode() 
    {
        return supplyCode;
    }
    public void setSupplyName(String supplyName) 
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName() 
    {
        return supplyName;
    }
    public void setClassId(String classId) 
    {
        this.classId = classId;
    }

    public String getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setKwCode(String kwCode) 
    {
        this.kwCode = kwCode;
    }

    public String getKwCode() 
    {
        return kwCode;
    }
    public void setKwName(String kwName) 
    {
        this.kwName = kwName;
    }

    public String getKwName() 
    {
        return kwName;
    }
    public void setLableCode(String lableCode) 
    {
        this.lableCode = lableCode;
    }

    public String getLableCode() 
    {
        return lableCode;
    }
    public void setApplianceyCode(String applianceyCode) 
    {
        this.applianceyCode = applianceyCode;
    }

    public String getApplianceyCode() 
    {
        return applianceyCode;
    }
    public void setApplianceyName(String applianceyName) 
    {
        this.applianceyName = applianceyName;
    }

    public String getApplianceyName() 
    {
        return applianceyName;
    }
    public void setSpsArea(String spsArea) 
    {
        this.spsArea = spsArea;
    }

    public String getSpsArea() 
    {
        return spsArea;
    }
    public void setRes1(String res1) 
    {
        this.res1 = res1;
    }

    public String getRes1() 
    {
        return res1;
    }
    public void setRes2(String res2) 
    {
        this.res2 = res2;
    }

    public String getRes2() 
    {
        return res2;
    }
    public void setRes3(String res3) 
    {
        this.res3 = res3;
    }

    public String getRes3() 
    {
        return res3;
    }
    public void setRes4(String res4) 
    {
        this.res4 = res4;
    }

    public String getRes4() 
    {
        return res4;
    }
    public void setRes5(String res5) 
    {
        this.res5 = res5;
    }

    public String getRes5() 
    {
        return res5;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("itemName", getItemName())
            .append("itemId", getItemId())
            .append("bsinssType", getBsinssType())
            .append("crNum", getCrNum())
            .append("supplyCode", getSupplyCode())
            .append("supplyName", getSupplyName())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("spec", getSpec())
            .append("unit", getUnit())
            .append("kwCode", getKwCode())
            .append("kwName", getKwName())
            .append("lableCode", getLableCode())
            .append("applianceyCode", getApplianceyCode())
            .append("applianceyName", getApplianceyName())
            .append("spsArea", getSpsArea())
            .append("res1", getRes1())
            .append("res2", getRes2())
            .append("res3", getRes3())
            .append("res4", getRes4())
            .append("res5", getRes5())
            .toString();
    }
}
